import { useRoute } from "vue-router";
export const  getParams= function() {
    const route = useRoute();
    let courseId = route.query.courseId;
    return courseId;
  }